package com.musichord.reader;

import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Properties;

public class MidiDefinition {
	public static Map<String, String> symbolMap = new HashMap<String, String>();
	static {
		Properties properties = new Properties();
		try {
			properties.load(new FileInputStream(
					"properties/midispec.properties"));
		} catch (FileNotFoundException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		for (Entry<Object, Object> entry : properties.entrySet()) {
			symbolMap.put((String) entry.getKey(), (String) entry.getValue());
		}
	}

	public static final String METADATA = "ff";
}
